package com.ktgj.customer.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 旅游产品对象 travel_product
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class TravelProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品表主键 */
    private Long productId;

    /** 供应商表主键 */
    @Excel(name = "供应商表主键")
    private Long supplierId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 销售价格 */
    @Excel(name = "销售价格")
    private BigDecimal salePrice;

    /** 结算价格 */
    @Excel(name = "结算价格")
    private BigDecimal costPrice;

    /** 产品状态0未上架，1已上架 */
    @Excel(name = "产品状态0未上架，1已上架")
    private Long statusId;

    /** 维护人 */
    @Excel(name = "维护人")
    private Long employeeId;

    /** 旅游团id */
    @Excel(name = "旅游团id")
    private Long groupId;

    /** 合同表主键 */
    @Excel(name = "合同表主键")
    private Long contractId;

    /*--------------------------------------------------*/

    /** 团类型 1国内 ，2国际 */
    @Excel(name = "团类型 1国内 ，2国际")
    private String countryType;

    /** 团名称 */
    @Excel(name = "团名称")
    private String groupName;

    /** 地接社名称 */
    @Excel(name = "地接社名称")
    private String localAgentName;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNum;

    public String getContractNum() {
        return contractNum;
    }

    public void setContractNum(String contractNum) {
        this.contractNum = contractNum;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getLocalAgentName() {
        return localAgentName;
    }

    public void setLocalAgentName(String localAgentName) {
        this.localAgentName = localAgentName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getCountryType() {
        return countryType;
    }

    public void setCountryType(String countryType) {
        this.countryType = countryType;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setSalePrice(BigDecimal salePrice) 
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice() 
    {
        return salePrice;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setStatusId(Long statusId) 
    {
        this.statusId = statusId;
    }

    public Long getStatusId() 
    {
        return statusId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("supplierId", getSupplierId())
            .append("productName", getProductName())
            .append("salePrice", getSalePrice())
            .append("costPrice", getCostPrice())
            .append("statusId", getStatusId())
            .append("createTime", getCreateTime())
            .append("employeeId", getEmployeeId())
            .toString();
    }
}
